<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>接口文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    </head>
    <body>
	<script>
        var host = window.location.protocol + '//' + window.location.host + '/dtree/';
        var cssDtree = '<link rel="stylesheet" href="' + host + 'dtree.css">';
        var cssMy = '<link rel="stylesheet" href="' + host + 'my.css">';
        var scriptDtree = '<scri'+'pt src="' + host + 'dtree.js"></scri'+'pt>';
        var scriptData = '<scri'+'pt src="' + host + 'data.js"></scri'+'pt>';
        document.write(cssDtree);
        document.write(cssMy);
        document.write(scriptDtree);
        document.write(scriptData);
	</script>

	<div style="" id="sidebar" >
	<script>
		d = new dTree('d');
		d.config.useIcons = false;
		d.config.closeSameLevel = true;
		d.config.inOrder = true;
		d.config.useCookies = false;
		d.config.useSelection = false;

		for (var i=0; i<data.length; i++) {
			var info = data[i];
			if (info.hasOwnProperty('url')) {
				d.add(info.currentId, info.preId, info.name, info.url);
			} else {
				d.add(info.currentId, info.preId, info.name);
			}
		}

		document.write(d);

		//根据id展开目录
        var currentNode = getQueryString();
        var currentId = parseInt(currentNode['id']);
        d.closeAll();
		d.openTo(currentId);
		document.getElementById("sd" + currentId).className = 'nodeSel'; //高亮当前打开的文档

		//获取url中的参数(网上copy)
		function getQueryString() {
		  var qs = location.search.substr(1), // 获取url中"?"符后的字串
			args = {}, // 保存参数数据的对象
			items = qs.length ? qs.split("&") : [], // 取得每一个参数项,
			item = null,
			len = items.length;

		  for(var i = 0; i < len; i++) {
			item = items[i].split("=");
			var name = decodeURIComponent(item[0]),
			  value = decodeURIComponent(item[1]);
			if(name) {
			  args[name] = value;
			}
		  }
		  return args;
		}
			
	 </script>
	</div>
	<div style="" id="content">
	<h1 style="text-align:center">SummerPHP 使用说明</h1>
	<h1>网站模块文档概览</h1>
<blockquote>
<p>基本概述   </p>
</blockquote>
<h2>域名</h2>
<ul>
<li>本地环境域名 <a href="http://www.hearu.com">http://www.hearu.com</a></li>
<li>测试环境域名 <a href="http://www.hearu.com"><a href="http://test.hearu.com">http://test.hearu.com</a></a></li>
<li>生产环境域名 <a href="http://www.hearu.com"><a href="http://www.hearu.com">http://www.hearu.com</a></a></li>
</ul>
<br>
<p style="font-size: 12px">修改时间: 2018-02-10 14:03:11</p>
<br>
 </div>  <!-- 右侧内容结束  -->

 </body>
 </html>